package Day3;

public class Counter {
    String brand;
    String color;
    double price;
    public void Show(){
        System.out.println("价值"+price+"元的"+brand+"牌"+color+"计算器开始运行...");
    }
    public double Jia(double num1,double num2){
        return num1+num2;
    }
    public double Jian(double num1,double num2){
        return num1-num2;
    }
    public double Chu(double num1,double num2){
        return num1/num2;
    }
    public double Chen(double num1,double num2){
        return num1*num2;
    }
    public double LiFang(double num3){
        return num3*num3*num3;
    }
}
